#!/bin/bash
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.bashrc
source ~/.bash_profile
#mkdir -p ~/.rvm/user/
#echo "ruby_url=https://cache.ruby-china.com/pub/ruby" > ~/.rvm/user/db
#source ~/.bashrc
#source ~/.bash_profile
wget -c test.wgmf.com/mirrors/ruby/ruby-2.6.3.tar.bz2 -P /usr/local/rvm/archives/
# https://cache.ruby-china.com/pub/ruby/2.6/ruby-2.6.3.tar.bz2
rvm requirements
rvm install 2.6.3
#rvm install 2.6.3 --disable-binary
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
gem source -l
gem sources -c
gem sources -u

